#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int Findnum(int arr[], int n)
{
	int res = 0;
	for (int i = 0; i < n; ++i)
	{
		res ^= arr[i];
	}
	return res;
}

int main()
{
	int arr[10] = { 1,2,3,4,5,1,2,3,4,6 };
	int n = sizeof(arr) / sizeof(arr[0]);
	int res = Findnum(arr, n);
	printf("res = %d\n", res);
	return 0;
}